<template>
    <div class="title-point-flex">
        <div class="title-point" :style="'background: '+color">
        </div>
        <slot name="content"></slot>
    </div>
</template>

<script>
    export default {
        name: "title-point",
        props: {
            color: {
                type: String,
                required: true
            }
        },
        data() {
            return {}
        },
        mounted() {

        },
        methods: {}
    }
</script>

<style scoped>
    .title-point-flex {
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .title-point {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-right: 10px;
    }
</style>
